home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
util
/
boot
/
BlizKick.lha
/
BlizKick
/
bkapi.lha
/
bkapi
/
SMakefile.test
< prev
next >
Wrap
Text File
|
2000-01-15
|
728b
|
43 lines
#
# bkapi makefile for SAS/C
#
MAKE = smake
ADOC = autodoc -a -C -c -I
### c defines ###
#SCOPTS = CPU=68020 PARMS=REGISTER OPTIMIZE OPTSIZE
SCOPTS = CPU=68020 PARMS=REGISTER OPTIMIZE OPTSIZE DEBUG=l
CC = sc
LINK = slink
#SLO = SMALLCODE SMALLDATA NODEBUG
SLO = SMALLCODE SMALLDATA
OBJS = bkapi.o
HDRS = myregargs.h bkapi.h
#LIBS =
# modify/add stuff here
all: test bkapi.doc
clean:
-Delete test bkapi.doc \#?.(info|tmp|lnk|o) QUIET
bkapi.doc: bkapi.c
$(ADOC) bkapi.c >$@
bkapi.o: bkapi.c bkapi.h
$(CC) bkapi.c $(SCOPTS) OBJNAME=$@
test.o: test.c $(HDRS)
$(CC) test.c $(SCOPTS) OBJNAME=$@
test: $(OBJS) test.o
#$(LINK) FROM test.o $(OBJS) $(SLO) LIB $(LIBS) TO $@
$(LINK) FROM test.o $(OBJS) $(SLO) TO $@